#include <stdio.h>
int it(int* arr)
{
	int i = 0;
	for (i = 0; i <= 4; i++)
	{
		arr[i] = 0;
	}
}
void print(int* arr)
{
	int i = 0;
	for (i = 0; i <= 4; i++)
	{
		printf("%d", arr[i]);
	}
}
void reverse(int* arr)
{
	int left = 0;
	int right = 4;
	while (left <= right)
	{
		int p = arr[right];
		arr[right] = arr[left];
		arr[left] = p;
		left++;
		right--;
	}
}
int main()
{
	int arr[5] = { 1,2,3,4,5, };
	reverse(arr);
	it(arr);
	print (arr);
	return 0;
}